<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <th:block th:replace="include/css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/exam.css">
    <title>在线考试</title>
</head>
<body>
<th:block th:replace="include/header:: header"/>
<form action="/exam/pre/do" method="post">
    <div class="main">
        <label class="checkbox-inline">
            <input type="radio" name="categoryId" value="0" checked>全部考题</label>
        <label class="checkbox-inline" th:each="item:${categoryList}">
            <input type="radio" name="categoryId" th:value="${item.categoryId}">
            <th:block th:text="${item.name}"/>
        </label>
        <button type="submit" class="btn btn-info" id="loadExam">进入考试</button>
        <a href="/exam/add" class="btn btn-success">我要出题</a>
        <div class="examiers">发题人</div>
        <div class="examiers-detail" id="examiers-detail">
        </div>
    </div>
</form>
<th:block th:replace="include/footer:: footer"/>
<th:block th:replace="include/top"/>
<script type="text/javascript" src="/static/js/exam.js"></script>
</body>
</html>